/* 在全局样式文件（如 src/styles/global.scss）中添加： */
#app {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 设置菜单样式 */
.ant-menu,
.ant-menu-sub,
.ant-menu-inline,
.ant-menu-submenu-title {
    color: rgb(114, 138, 78);
}

.ant-menu-title-content {
    color: rgba(22, 21, 21, 0.753)
}


/* 选中菜单状态 */
.ant-menu-item-selected {
    background-color: rgb(165, 189, 162) !important;
    color: white !important;
}

/* 选中菜单状态 */
.ant-menu-selected {
    background-color: rgb(165, 189, 162) !important;
    color: white !important;
}

/* 去掉右边框 */
.ant-menu-inline {
    border: none;
}

.ant-menu-submenu-selected>.ant-menu-submenu-title {
    color: rgb(114, 138, 78) !important;
    background-color: rgb(240, 247, 239);
}

.ant-menu-item:active {
    background-color: rgb(165, 189, 162) !important;
}

.actionBtn {
    margin-right: 10px;
}

.editBtn {
    color: grey;
}

.editBtn:hover {
    color: green;
}

.confirmBtn {
    color: #fff !important;
    background-color: green !important;
}

.confirmBtn:hover {
    color: #fff !important;
    background-color: rgb(6, 90, 6) !important;
}

.cancelBtn {}

.cancelBtn:hover {
    color: green !important;
    border: 1px solid green !important;
}


/* 删除按钮 */
.deleteBtn {
    color: rgb(67, 161, 117);
}

/* 删除按钮 */
.deleteBtn:hover {
    color: green !important;
}

.queryBtn {
    background-color: green !important;
}

.queryBtn:hover {
    background-color: rgb(27, 121, 63) !important;
}

.resetBtn {
    color: rgba(0, 0, 0, 0.45);
    border: rgba(217, 217, 217, 0.65) 1px solid;
}

.resetBtn:hover {
    color: #4ab44a !important;
    border: #4ab44a 1px solid;
}

button:hover {
    border-color: #4ab44a !important;
}

/* text-area,input */
#form_item_remark:hover,
#form_item_name:hover {
    border-color: #4ab44a !important;
}

/* 分页选中页颜色、边框 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-pagination .ant-pagination-item-active a {
    color: #4ab44a;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-pagination .ant-pagination-item-active {
    font-weight: 600;
    background-color: #ffffff;
    border-color: #4ab44a;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-pagination .ant-pagination-item-active:hover {
    border-color: #4ab44a;
    color: #4ab44a;
}

/* 查询框鼠标选中并移开后的边框色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-input-affix-wrapper:focus,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-input-affix-wrapper-focused {
    border-color: #4ab44a !important;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-input:focus,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-input-focused {
    border-color: #4ab44a !important;
}

/* Go to移入边框颜色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-pagination .ant-pagination-options-quick-jumper input:hover {
    border-color: #4ab44a !important;
}

/* 分页-每页大小选择器鼠标移入指定页码，例如10/page后，10/page的背景色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    color: rgba(0, 0, 0, 0.88);
    font-weight: 600;
    background-color: #dee7e1;
}

/* 分页-每页大小选择器鼠标移入后的边框颜色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-select-single:not(.ant-select-customize-input) .ant-select-selector:hover {
    border-color: #4ab44a !important;
}

/* 分页-每页大小选择器，点击后鼠标移开后的边框颜色 */
.ant-select-focused:where(.css-dev-only-do-not-override-1p3hq3p).ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
    border-color: #4ab44a;
}

/* 分页-跳转指定页码 选中时边框的颜色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-pagination .ant-pagination-options-quick-jumper input:focus {
    border-color: #4ab44a;
}

/* table loading加载样式 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-spin .ant-spin-dot-item {
    background-color: #4ab44a !important;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-select-single {
    font-size: 14px;
    margin-right: 10px;
}

/* 上传组件鼠标移入边框颜色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-upload-wrapper.ant-upload-picture-card-wrapper:hover .ant-upload.ant-upload-select:hover {
    border-color: #4ab44a;
}

/* 级联选择器选中选项背景色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-cascader-dropdown .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),
:where(.css-dev-only-do-not-override-1p3hq3p).ant-cascader-dropdown .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
    background-color: #c4e2c4;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-tree .ant-tree-checkbox+span.ant-tree-node-selected {
    background-color: #e8f0e8;
}

.ant-input:hover,
.ant-input-affix-wrapper:hover {
    border-color: #4ab44a !important;
}

/* 树-搜索框移入颜色 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary):hover {
    color: #4ab44a;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-btn-default:not(:disabled):hover {
    color: #4ab44a;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-btn-default.ant-btn-dangerous:not(:disabled):hover {
    color: #4ab44a;
}


/* 当悬停在清除按钮时，改变下拉框边框颜色为绿色 */
.ant-select:hover .ant-select-selector {
    border-color: #4ab44a !important;
}

/* 树选择器 */
.ant-tree-select-dropdown .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
    background-color: #4ab44a;
    border-color: #4ab44a;
}

/* 树选择器移入颜色 */
.ant-tree-select-dropdown:hover .ant-select-tree-checkbox-checked:hover .ant-select-tree-checkbox-inner:hover {
    background-color: #4ab44a;
    border-color: #4ab44a;
}

/* 树-选择器，选项移入边框颜色 */
.ant-tree-select-dropdown .ant-select-tree-checkbox:not(.ant-select-tree-checkbox-disabled):hover .ant-select-tree-checkbox-inner {
    border-color: #4ab44a;
}

/* 单选框样式 */
.ant-radio-wrapper .ant-radio-checked .ant-radio-inner {
    border-color: #4ab44a !important;
    background-color: #4ab44a !important;
}

/* 单选框样式 */
.ant-radio-wrapper:hover .ant-radio-inner {
    border-color: #4ab44a;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-cascader-dropdown .ant-cascader-checkbox-checked .ant-cascader-checkbox-inner {
    background-color: #4ab44a;
    border-color: #4ab44a;
}

.ant-cascader-checkbox .ant-cascader-checkbox-checked:hover {
    background-color: #4ab44a !important;
    border-color: #4ab44a;
}

.ant-cascader-checkbox-inner:hover {
    border-color: #4ab44a !important;
}

.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner {
    background-color: #4ab44a !important;
}

.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner {}

/* 去除a-cascader多选框样式 */
.ant-cascader-checkbox .ant-cascader-checkbox-inner {
    display: none !important;
}

.ant-checkbox-checked .ant-checkbox-inner {
    background-color: #4ab44a !important;
    border-color: #4ab44a !important;
}

.ant-checkbox-inner:hover,
.ant-checkbox-input:hover {
    border-color: #4ab44a !important;
}

.ant-checkbox:hover .css-dev-only-do-not-override-1p3hq3p:hover {
    border-color: #4ab44a !important;

}

.ant-checkbox-checked:hover {
    border-color: #4ab44a !important;
}

.ant-dropdown-menu-item .menu-container .ant-dropdown-menu-item-only-child {
    background-color: red !important;
}

/* 图标基础样式 */
.menu-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

/* 一级菜单激活样式 */
.ant-menu-submenu-title:active {
    background-color: rgb(165, 189, 162) !important;

}

.fc .fc-button {
    border: none;
}

/* 日历视图选项 */
/* .custom-dropdown :where(.css-dev-only-do-not-override-1p3hq3p).ant-select:not(.ant-select-customize-input) .ant-select-selector {
    background-color: green !important;
} */


/* ------------- */
::-webkit-scrollbar {
    width: 10px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: #23861f;
    border-radius: 10px;
    background-image: -webkit-linear-gradient(45deg, rgb(105, 172, 67) 25%, transparent 25%, transparent 50%, rgb(35, 187, 81) 50%, rgb(72, 206, 101) 75%, transparent 75%, transparent);
    cursor: pointer;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #f9fcf7;
}


.dot {
    display: inline-block;
    /* 行内显示 */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* 圆形 */
    background-color: #333;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #23861f;
}

.ant-tabs-tab:hover {
    color: #23861f !important;
}

.layout .tab-container :where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs[data-v-051739fd] {
    height: 40px;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active {
    border: 1px solid rgb(204, 201, 201) !important;
}

.ant-tabs-tab {
    border-radius: 5px !important;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-top>.ant-tabs-nav::before,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-bottom>.ant-tabs-nav::before,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-top>div>.ant-tabs-nav::before,
:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs-bottom>div>.ant-tabs-nav::before {
    border-bottom: none;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-tabs {
    line-height: 1.3;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-spin {
    color: #4ab44a;
}

/* 修改多选框悬停时的边框颜色 */
.ant-checkbox-wrapper:hover .ant-checkbox-inner {
    border-color: #4ab44a !important;
}

/* 多选框选中后 hover 的边框颜色 */
.ant-checkbox-checked.ant-checkbox-wrapper:hover .ant-checkbox-inner,
.ant-checkbox-checked.ant-checkbox:hover .ant-checkbox-inner {
    border-color: #00ff00 !important;
}